package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.WorkflowProcess;

import java.util.List;

public interface WorkflowProcessMapper {
    //根据工艺id分页查询工艺的工序组成列表
    List<WorkflowProcess> queryWorkflowProcessList(Long workflowId);
   //新增工序组成
   int saveWorkflowProcess(WorkflowProcess workflowProcess);

   //根据工序组成的id查询工序组成
    WorkflowProcess queryWPId(Long id);

    //更新工序组成
    int updateWorkflowProcess(WorkflowProcess workflowProcess);

    //删除单个工序组成
    int deleteWorkflowProcessById(Long id);

    //批量删除
    int batchDeleteWorkflowProcess(Long[] ids);
}
